package com.crecheng.shop.DAO;

public class AddressData extends BaseData{
    int uid;
    String address;
    String phone;

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void set(int uid, String address, String phone) {
        this.uid = uid;
        this.address = address;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "AddressData{" +
                "uid=" + uid +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                ", id=" + id +
                '}';
    }
}
